from django.test import TestCase

# Create your tests here.
if __name__ == '__main__':
    a = "你好     中国  "
    s = ' '.join(a.strip().split())
    print(s)